package com.wx.wheelview.util;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * TextUtilsTest
 *
 * @since 2021.07.15
 */
public class TextUtilsTest {
    /**
     * test isEmpty
     */
    @Test
    public void isEmpty() {
        String str = "";
        assertTrue(TextUtils.isEmpty(str));
        str = null;
        assertTrue(TextUtils.isEmpty(str));
        str = "test";
        assertFalse(TextUtils.isEmpty(str));
    }
}
